package com.csmd.gateway.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * 路由配置类
 * @ClassName RouteProperties
 * @Description 498982703@qq.com
 * @Author gary
 * @Date 2020/11/11 15:28
 * @Version 1.0
 */
@Data
@RefreshScope
@ConfigurationProperties("gary.document")
public class RouteProperties {

    private final List<RouteResource> resources = new ArrayList<>();


}
